package com.zanfeng.signleplatform.api.io.modules.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.*;

import java.io.Serializable;

@ApiModel(value = "AuthFormIO", description = "用户登录表单")
public class AuthFormIO implements Serializable {

    @ApiModelProperty(value = "用户名", example = "admin", allowEmptyValue = true)
    private String username;
    @ApiModelProperty(value = "姓名", example = "admin", allowEmptyValue = true)
    private String realname;
    @ApiModelProperty(value = "角色名", example = "管理员", allowEmptyValue = true)
    private String roleName;
    @ApiModelProperty(value = "更新时间区间", allowEmptyValue = true)
    private String[] updateTimeRange;
    @ApiModelProperty(value = "模块名称", example = "", allowEmptyValue = true)
    private String moduleName;
    @ApiModelProperty(value = "模块码值", example = "", allowEmptyValue = true)
    private String moduleCode;
    @ApiModelProperty(value = "是否发布", example = "", allowEmptyValue = true)
    private String isPublish;
    @ApiModelProperty(value = "父模块ID", example = "", allowEmptyValue = true)
    private String moduleParentId;

    public AuthFormIO() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String[] getUpdateTimeRange() {
        return updateTimeRange;
    }

    public void setUpdateTimeRange(String[] updateTimeRange) {
        this.updateTimeRange = updateTimeRange;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getIsPublish() {
        return isPublish;
    }

    public void setIsPublish(String isPublish) {
        this.isPublish = isPublish;
    }

    public String getModuleParentId() {
        return moduleParentId;
    }

    public void setModuleParentId(String moduleParentId) {
        this.moduleParentId = moduleParentId;
    }
}
